package com.blrs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 往来管理对象 back_and_forth
 * 
 * @author yuxiang.chen
 * @date 2023-08-03
 */
public class BackAndForth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 款项 */
    @Excel(name = "款项")
    private String payment;

    /** 资金流向 */
    @Excel(name = "资金流向")
    private String fundFlow;

    /** 银行流水号 */
    @Excel(name = "银行流水号")
    private String bankSerial;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 收款方 */
    @Excel(name = "收款方")
    private String payee;

    /** 付款方 */
    @Excel(name = "付款方")
    private String Payer;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 是否删除 */
    private String delFlag;

    /** 操作人id */
    private Long operateId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */

    private Long organizationId;

    /** 组织机构名称 */

    private String organizationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creationTime;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPayment(String payment) 
    {
        this.payment = payment;
    }

    public String getPayment() 
    {
        return payment;
    }
    public void setFundFlow(String fundFlow) 
    {
        this.fundFlow = fundFlow;
    }

    public String getFundFlow() 
    {
        return fundFlow;
    }
    public void setBankSerial(String bankSerial) 
    {
        this.bankSerial = bankSerial;
    }

    public String getBankSerial() 
    {
        return bankSerial;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setPayee(String payee) 
    {
        this.payee = payee;
    }

    public String getPayee() 
    {
        return payee;
    }
    public void setPayer(String Payer) 
    {
        this.Payer = Payer;
    }

    public String getPayer() 
    {
        return Payer;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("payment", getPayment())
            .append("fundFlow", getFundFlow())
            .append("bankSerial", getBankSerial())
            .append("bankName", getBankName())
            .append("projectId", getProjectId())
            .append("payee", getPayee())
            .append("Payer", getPayer())
            .append("amount", getAmount())
            .append("delFlag", getDelFlag())
            .append("operateId", getOperateId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("creationTime", getCreationTime())
            .append("operateTime", getOperateTime())
            .toString();
    }
}
